From: Andreas Beckmann Date: Thu, 2 Dec 2021 23:40:21 +0000 (+0100) Subject: [PATCH 61/90] test_printf_vectors fails on most platforms X-Git-Tag: archive/raspbian/1.8-3+rpi1^2~73 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=46664c18baeee174951560b75bed912429705530;p=pocl.git [PATCH 61/90] test_printf_vectors fails on most platforms Gbp-Pq: Name 0061-test_printf_vectors-fails-on-most-platforms.patch --- diff --git a/tests/kernel/CMakeLists.txt b/tests/kernel/CMakeLists.txt index 93c2a57..5bbe48a 100644 --- a/tests/kernel/CMakeLists.txt +++ b/tests/kernel/CMakeLists.txt @@ -226,6 +226,15 @@ add_test_pocl(NAME "kernel/test_printf_vectors" EXPECTED_OUTPUT "test_printf_vectors_expout.txt" COMMAND "kernel" "test_printf_vectors") +# on most platforms, the printf tests for vector types expose bugs in the +# pocl printf implementation (passing of variadic arguments containing OpenCL +# vector types) and maybe also related bugs in llvm (issue #682, #1007) +if(NOT (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" OR + CMAKE_SYSTEM_PROCESSOR STREQUAL "s390x")) + set_tests_properties("kernel/test_printf_vectors" + PROPERTIES WILL_FAIL 1) +endif() + add_test_pocl(NAME "kernel/test_sizeof_uint" EXPECTED_OUTPUT "test_sizeof_expout.txt" COMMAND "kernel" "test_sizeof")